package com.ruoyi.collection.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * collection对象 collection
 *
 * @author MingYu
 * @date 2021-12-20
 */
public class Collection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发布者编号 */
    private Int MerchantsId;

    /** 发布者姓名 */
    @Excel(name = "发布者姓名")
    private Varchar MerchantsName;

    /** 发布者头像 */
    @Excel(name = "发布者头像")
    private Varchar MerchantsPortrait;

    /** 商品图像 */
    @Excel(name = "商品图像")
    private Varchar GoodsPortrait;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Int GoodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private varchar GoodsName;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private Decimal Price;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private Varchar Details;

    /** 商品成色 */
    @Excel(name = "商品成色")
    private Varchar Condition;

    /** 图片地址 */
    private String imgUrl;

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public void setRewardId(Long rewardId)
    {
        this.rewardId = rewardId;
    }

    public Long getRewardId()
    {
        return rewardId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setDetails(String details)
    {
        this.details = details;
    }

    public String getDetails()
    {
        return details;
    }
    public void setRewardType(String rewardType)
    {
        this.rewardType = rewardType;
    }

    public String getRewardType()
    {
        return rewardType;
    }
    public void setRewardStatus(String rewardStatus)
    {
        this.rewardStatus = rewardStatus;
    }

    public String getRewardStatus()
    {
        return rewardStatus;
    }
    public void setRewardPriority(String rewardPriority)
    {
        this.rewardPriority = rewardPriority;
    }

    public String getRewardPriority()
    {
        return rewardPriority;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("MerchantsId", getMerchantsId())
                .append("MerchantsName", getMerchantsName())
                .append("MerchantsPortrait", getMerchantsPortrait())
                .append("GoodsPortrait", getGoodsPortrait())
                .append("GoodsId", getGoodsId())
                .append("GoodsName", getGoodsName())
                .append("Price", getPrice())
                .append("Details", getDetails())
                .append("Condition", getCondition())
                .toString();
    }
}
